import request from '@/utils/request'

// guid
export function getGuid(data) {
    return request({
      url: '/front/guidList',
      method: 'get',
      params:data
    })
}
// guid
export function getinspiredguidList(data) {
  return request({
    url: '/front/inspiredguidList',
    method: 'get',
    params:data
  })
}
// guid
export function addUserguid(data) {
  return request({
    url: '/front/addUserGuid',
    method: 'post',
    data
  })
}
// guid
export function userGuidDel(data) {
  return request({
    url: '/front/userGuidDel',
    method: 'get',
    params: data
  })
}
// guid
export function rename(data) {
  return request({
    url: '/front/rename',
    method: 'post',
    data
  })
}
// guid
export function guid(data) {
  return request({
    url: '/front/guid',
    method: 'get',
    params:data
  })
}

// region
export function region() {
  return request({
    url: '/front/region',
    method: 'get',
  })
}

// categories
export function categories() {
  return request({
    url: '/front/categories',
    method: 'get',
  })
}


// your plans
export function userGuidList(data) {
  return request({
    url: '/front/userguidList',
    method: 'get',
    params:data
  })
}

//  scenicList
export function scenicList(data) {
  return request({
    url: '/front/scenicList',
    method: 'get',
    params:data
  })
}


//  scenicList
export function scenicTypeList(data) {
  return request({
    url: '/front/scenicTypeList',
    method: 'get',
    params:data
  })
}

//  scenicList
export function addUserEmail(data) {
  return request({
    url: '/front/addUserEmail',
    method: 'post',
    data
  })
}

export function avatarEdit(data) {
  return request({
    url: '/front/avatarEdit',
    method: 'post',
    data
  })
}